import { RMIProxyObject } from "../../Engine/RMI/RMIProxyObject";
import { IItemPrx } from "./IItemPrx";
import { AMI_IItem_activateSpiritEquip } from "./AMI_IItem_activateSpiritEquip";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { Outgoing } from "../../Engine/RMI/Outgoing";
import { AMI_IItem_equipDecompose } from "./AMI_IItem_equipDecompose";
import { DictStrIntHelper } from "../Public/DictStrIntHelper";
import { AMI_IItem_equipMelt } from "./AMI_IItem_equipMelt";
import { SeqStringHelper } from "../Public/SeqStringHelper";
import { AMI_IItem_equipRefresh } from "./AMI_IItem_equipRefresh";
import { EEquipRefreshOperType } from "./EEquipRefreshOperType";
import { DictIntIntHelper } from "../Public/DictIntIntHelper";
import { AMI_IItem_equipStrengthenShift } from "./AMI_IItem_equipStrengthenShift";
import { AMI_IItem_equipUpdate } from "./AMI_IItem_equipUpdate";
import { AMI_IItem_equipUpgradePrefix } from "./AMI_IItem_equipUpgradePrefix";
import { AMI_IItem_itemUpdate } from "./AMI_IItem_itemUpdate";
import { AMI_IItem_jewelOnceCompose } from "./AMI_IItem_jewelOnceCompose";
import { AMI_IItem_jewelTransform } from "./AMI_IItem_jewelTransform";
import { AMI_IItem_mountEquipUpgrade } from "./AMI_IItem_mountEquipUpgrade";
import { AMI_IItem_petEquipAdvance } from "./AMI_IItem_petEquipAdvance";
import { AMI_IItem_petEquipRecast } from "./AMI_IItem_petEquipRecast";
import { AMI_IItem_petEquipStarUpgrade } from "./AMI_IItem_petEquipStarUpgrade";
import { AMI_IItem_petEquipUpgrade } from "./AMI_IItem_petEquipUpgrade";
import { AMI_IItem_propRefreshCompose } from "./AMI_IItem_propRefreshCompose";
import { AMI_IItem_smelt } from "./AMI_IItem_smelt";
import { AMI_IItem_spiritEquipStrength } from "./AMI_IItem_spiritEquipStrength";
import { AMI_IItem_swallowFashionJewel } from "./AMI_IItem_swallowFashionJewel";
import { AMI_IItem_swallowSpiritEquip } from "./AMI_IItem_swallowSpiritEquip";
import { AMI_IItem_upgradeFashionJewel } from "./AMI_IItem_upgradeFashionJewel";
import { AMI_IItem_weaponStrengthenTask } from "./AMI_IItem_weaponStrengthenTask";
import { AMI_IItem_wingMerge } from "./AMI_IItem_wingMerge";
type int = number;
//class IItemPrxHelper
    
    export  class IItemPrxHelper extends RMIProxyObject implements IItemPrx
    {
        constructor()
        {
            
            super();name = "IItem";
            return;
        }

        public activateSpiritEquip_async(arg1: AMI_IItem_activateSpiritEquip, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("activateSpiritEquip");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public equipDecompose_async(arg1: AMI_IItem_equipDecompose, arg2: Map<any, any> /* flash.utils.Dictionary */, arg3: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("equipDecompose");
            var loc3=new SerializeStream();
            DictStrIntHelper.write(loc3, arg2);
            loc3.writeString(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public equipMelt_async(arg1: AMI_IItem_equipMelt, arg2: string, arg3: string, arg4: Array<any>, arg5: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("equipMelt");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeString(arg3);
            SeqStringHelper.write(loc3, arg4);
            loc3.writeBool(arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public equipRefresh_async(arg1: AMI_IItem_equipRefresh, arg2: int, arg3: string, arg4: string, arg5: EEquipRefreshOperType, arg6: Boolean, arg7: Map<any, any> /* flash.utils.Dictionary */, arg8: Array<any>, arg9: int, arg10: Map<any, any> /* flash.utils.Dictionary */, arg11: int, arg12: int, arg13: Boolean, arg14: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("equipRefresh");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeString(arg3);
            loc3.writeString(arg4);
            arg5.__write(loc3);
            loc3.writeBool(arg6);
            DictIntIntHelper.write(loc3, arg7);
            SeqStringHelper.write(loc3, arg8);
            loc3.writeInt(arg9);
            DictIntIntHelper.write(loc3, arg10);
            loc3.writeInt(arg11);
            loc3.writeInt(arg12);
            loc3.writeBool(arg13);
            loc3.writeBool(arg14);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public equipStrengthenShift_async(arg1: AMI_IItem_equipStrengthenShift, arg2: int, arg3: int, arg4: string, arg5: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("equipStrengthenShift");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeString(arg4);
            loc3.writeString(arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public equipUpdate_async(arg1: AMI_IItem_equipUpdate, arg2: int, arg3: int, arg4: string, arg5: Array<any>, arg6: Boolean, arg7: Boolean, arg8: Boolean, arg9: int, arg10: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("equipUpdate");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeString(arg4);
            SeqStringHelper.write(loc3, arg5);
            loc3.writeBool(arg6);
            loc3.writeBool(arg7);
            loc3.writeBool(arg8);
            loc3.writeInt(arg9);
            loc3.writeBool(arg10);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public equipUpgradePrefix_async(arg1: AMI_IItem_equipUpgradePrefix, arg2: int, arg3: string, arg4: Array<any>): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("equipUpgradePrefix");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeString(arg3);
            SeqStringHelper.write(loc3, arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public itemUpdate_async(arg1: AMI_IItem_itemUpdate, arg2: int, arg3: int, arg4: Array<any>, arg5: int, arg6: int, arg7: int, arg8: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("itemUpdate");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            SeqStringHelper.write(loc3, arg4);
            loc3.writeInt(arg5);
            loc3.writeInt(arg6);
            loc3.writeInt(arg7);
            loc3.writeBool(arg8);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public jewelOnceCompose_async(arg1: AMI_IItem_jewelOnceCompose, arg2: int, arg3: Boolean, arg4: Map<any, any> /* flash.utils.Dictionary */): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("jewelOnceCompose");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeBool(arg3);
            DictStrIntHelper.write(loc3, arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public jewelTransform_async(arg1: AMI_IItem_jewelTransform, arg2: Map<any, any> /* flash.utils.Dictionary */, arg3: Map<any, any> /* flash.utils.Dictionary */): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("jewelTransform");
            var loc3=new SerializeStream();
            DictStrIntHelper.write(loc3, arg2);
            DictStrIntHelper.write(loc3, arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public mountEquipUpgrade_async(arg1: AMI_IItem_mountEquipUpgrade, arg2: int, arg3: string, arg4: Boolean, arg5: Array<any>): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("mountEquipUpgrade");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeString(arg3);
            loc3.writeBool(arg4);
            SeqStringHelper.write(loc3, arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public petEquipAdvance_async(arg1: AMI_IItem_petEquipAdvance, arg2: string, arg3: string, arg4: Array<any>, arg5: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("petEquipAdvance");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeString(arg3);
            SeqStringHelper.write(loc3, arg4);
            loc3.writeBool(arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public petEquipRecast_async(arg1: AMI_IItem_petEquipRecast, arg2: int, arg3: string, arg4: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("petEquipRecast");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeString(arg3);
            loc3.writeString(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public petEquipStarUpgrade_async(arg1: AMI_IItem_petEquipStarUpgrade, arg2: int, arg3: string, arg4: Array<any>): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("petEquipStarUpgrade");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeString(arg3);
            SeqStringHelper.write(loc3, arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public petEquipUpgrade_async(arg1: AMI_IItem_petEquipUpgrade, arg2: int, arg3: int, arg4: string, arg5: int, arg6: Array<any>, arg7: Array<any>): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("petEquipUpgrade");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeString(arg4);
            loc3.writeInt(arg5);
            SeqStringHelper.write(loc3, arg6);
            SeqStringHelper.write(loc3, arg7);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public propRefreshCompose_async(arg1: AMI_IItem_propRefreshCompose, arg2: Map<any, any> /* flash.utils.Dictionary */, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("propRefreshCompose");
            var loc3=new SerializeStream();
            DictStrIntHelper.write(loc3, arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public smelt_async(arg1: AMI_IItem_smelt, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("smelt");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public spiritEquipStrength_async(arg1: AMI_IItem_spiritEquipStrength, arg2: string, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("spiritEquipStrength");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public swallowFashionJewel_async(arg1: AMI_IItem_swallowFashionJewel, arg2: int, arg3: Map<any, any> /* flash.utils.Dictionary */): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("swallowFashionJewel");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            DictStrIntHelper.write(loc3, arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public swallowSpiritEquip_async(arg1: AMI_IItem_swallowSpiritEquip, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("swallowSpiritEquip");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public upgradeFashionJewel_async(arg1: AMI_IItem_upgradeFashionJewel, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("upgradeFashionJewel");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public weaponStrengthenTask_async(arg1: AMI_IItem_weaponStrengthenTask, arg2: int, arg3: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("weaponStrengthenTask");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeString(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public wingMerge_async(arg1: AMI_IItem_wingMerge, arg2: string, arg3: string, arg4: int, arg5: int, arg6: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("wingMerge");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeString(arg3);
            loc3.writeInt(arg4);
            loc3.writeInt(arg5);
            loc3.writeInt(arg6);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public static /* const */NAME: string="Message.Game.IItem";
    }
